The death sequence in this game features rapidly flashing lights and colors. The ending sequence does also, for a more sustained period of time than the death sequence.

If you are sensitive to rapidly flashing lights and colors, I recommend playing the "2017 Rerelease" version of the game, which I think is better anyways.